package com.dongdongshop.service;

import com.dongdongshop.page.PageBean;
import com.dongdongshop.pojo.TbBrand;

import java.util.List;

public interface BrandService {
    List<TbBrand> ListBrands();

    PageBean<TbBrand> getAll(Integer pageNum,Integer pageSize);

    int insert(TbBrand b);

    TbBrand getById(Long id);

    int update(TbBrand b);

    int delete(Long id);

    int deleteCheck(Long[] ids);
}
